﻿using MasterEntities.Abstraction;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccessLayer.DatabaseOperations
{
    public abstract class AbstractExecutionTemplate
    {
        protected abstract bool Execute(IDomainObject obj);

        public bool ExecuteOperation(IDomainObject obj)
        {
            bool success = false;
            success = Execute(obj);
            return success;
        }
    }
}
